package com.cs.manaer.controller.req;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

@Getter
@Setter
public class AppReleaseReqMsg {
    private Long id;

    @NotBlank(message = "版本号不能为空")
    private String platformVersion;

    //@NotBlank(message = "APP编号不能为空")
    private String platformCode;

    @NotBlank(message = "更新类型不能为空：1:安装包，2:热修复，3:离线，默认1")
    private String releaseType;
    @NotBlank(message = "更新类型不能为空：'0:强制，1:提示'")
    private String noteFlag;

    @NotBlank(message = "更新描述不能为空")
    private String releaseDes;
    @NotBlank(message = "本地最大版本不能为空")
    private String appMaxVersion;
    @NotBlank(message = "本地最小版本不能为空")
    private String appMinVersion;

    @NotBlank(message = "系统类型不能为空：android：安卓，iOS：iOS")
    private String systemType;

    @NotBlank(message = "APP文件不能为空")
    private String fileData;
}
